package com.lagou.repository;

import com.lagou.entity.Resume;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @Author zhangbbk
 * @Description //TODO
 * @Date 2020/6/14 23:04
 **/

public interface ResumeRepository extends MongoRepository<Resume,String> {

    List<Resume> findByNameEquals(String name);
    List<Resume>  findByNameAndExpectSalary(String name,double expectSalary);

}
